package org.springblade.modules.userAnalysis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author BladeX
 * @since 2020-08-28
 */
@Data
@TableName("t_u_daily_pay_users_read_sale_report")
public class DailyPayUsersReadSaleReport implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId(value = "id", type = IdType.AUTO)
	@Column(columnDefinition = " bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键' ")
	private Integer id;
	/**
	 * 日期YYYY-MM-DD
	 */
	@ApiModelProperty(value = "日期YYYY-MM-DD")
	private String date;
	@ApiModelProperty(value = "销售类型")
	private String saleType;
	/**
	 * 阅读量
	 */
	@ApiModelProperty(value = "量")
	private Integer num;

	/**
	 * 创建时间
	 */
	@Column(columnDefinition = "  datetime COMMENT '创建时间' ")
	private Date created;
}
